package com.xidian.zhiancloud.dao.syset;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xidian.zhiancloud.model.syset.PositionList;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PositionMapper extends BaseMapper<PositionList> {

    List<PositionList> getPositionList(@Param("companyid") Long companyid);

    int addPositionList(@Param("pid") Integer pid,@Param("name") String name,
                        @Param("companyid") Long companyid);

    int deletePositionList(List<String> list);

    int updatePostion(@Param("id") String id,
                      @Param("status") Integer status,
                      @Param("state") Integer state);


}
